﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Yglab.Models;

namespace Yglab.Controllers
{
    public class DbmonitorController : Controller
    {
        private YgContext conn = new YgContext();

        public ActionResult Index()
        {
            var subs = conn.Subjects.ToList() ;

            return View();
        }

    }
}
